package com.nhjf.model.followThePainting.followThePaintingDetails;

import java.util.Date;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.nhjf.model.BaseModel;
import com.nhjf.model.followThePainting.FollowThePainting;
@SuppressWarnings("serial")
@Entity
@Table(name = "followThePaintingDetails")
public class FollowThePaintingDetails extends BaseModel{
	@Id
	@GeneratedValue(generator = "generator")
	@GenericGenerator(name = "generator", strategy = "native")
	@Column(name = "id", unique = true)
	private Long id;
	/**
	 * 作品详情图片
	 */
	@Column(name = "detailPicture")
	private String detailPicture;
	/**
	 * 跟着画id
	 */
	@Column(name = "followThePaintingId")
	private Long followThePaintingId;
	/**
	 * 图片标题
	 */
	@Column(name = "pictureTitle")
	private String pictureTitle;
	/**
	 * 图片描述
	 */
	@Column(name = "pictureDescription")
	private String pictureDescription;
	/**
	 * 创建时间
	 */
	@Column(name = "creationTime")
	private Date creationTime;
	/**
	 * 1:不是断点 ；2是断点
	 */
	@Column(name = "whetherBreakpoint")
	private Integer whetherBreakpoint;
	
	public Integer getWhetherBreakpoint() {
		return whetherBreakpoint;
	}
	public void setWhetherBreakpoint(Integer whetherBreakpoint) {
		this.whetherBreakpoint = whetherBreakpoint;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getDetailPicture() {
		return detailPicture;
	}
	public void setDetailPicture(String detailPicture) {
		this.detailPicture = detailPicture;
	}

	public Long getFollowThePaintingId() {
		return followThePaintingId;
	}
	public void setFollowThePaintingId(Long followThePaintingId) {
		this.followThePaintingId = followThePaintingId;
	}
	public String getPictureTitle() {
		return pictureTitle;
	}
	public void setPictureTitle(String pictureTitle) {
		this.pictureTitle = pictureTitle;
	}
	public String getPictureDescription() {
		return pictureDescription;
	}
	public void setPictureDescription(String pictureDescription) {
		this.pictureDescription = pictureDescription;
	}
	public Date getCreationTime() {
		return creationTime;
	}
	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}
	
	
}
